package com.algorithm.map;/*
 *@Author:DOWN
 *@Date:2022/2/17 11:08
 *@Comment:
 */

public interface MapInterface<K, V> {

    void add(K key, V value);

    V remove(K key);

    boolean contains(K key);

    V get(K key);

    void set(K key, V newValue);

    int getSize();

    boolean isEmpty();
}
